while True:
	print("\nPlease Enter Q to Quit any time.")
	reason = input("Why do you like programming? \n")
	if reason == 'q':
		break
	else:
		with open("reason.txt", 'a') as file:
			file.write(f"{reason}\n")